//
//  BanBu_FullScreenGIF.h
//  BanBu
//
//  Created by Wang Xj on 13-9-6.
//
//

#import <UIKit/UIKit.h>
#import "BanBu_MediaView.h"
#import "SCGIFImageView.h"

@interface BanBu_FullScreenGIF : UIView

@property (assign, nonatomic) BanBu_ChatViewController * chatController;
@property (retain, nonatomic) NSString * imageFilePath; //图片路径

@property (retain, nonatomic) UIImageView * smallImage; //缩略图

@property (retain, nonatomic) UIView * bgView;          //显示大图时的背景图
@property (retain, nonatomic) SCGIFImageView * mediaView;  //大图

@property (assign, nonatomic) MediaStatus status;       //视频的状态：normal、上传、下载、上传失败、下载失败；已播放过暂时不用
@property (assign, nonatomic) MediaStatus statusNow;       //视频的状态：normal、上传、下载、上传失败、下载失败；已播放过暂时不用

@property (retain, nonatomic) NSString * chatid;    //消息的id

@property (assign, nonatomic) BOOL atLift;          //YES：对方发送。NO：自己发送

@property (assign, nonatomic) BOOL isPlaying;

-(void)setimageFrame:(CGRect)rect;

//设置图片路径
-(void)setImagePath:(NSString *)imagePath;

//设置缩略图文件路径
-(void)setMediaGIFPath:(NSString *)fileUrl;
//设置状态
-(void)setStatus:(MediaStatus)status;
@end
